/*-------------------- MAIN -------------------*/
extern unsigned char POWER_STATE;
extern unsigned char KEY_FIG;
extern unsigned char OFFSET_NEG;
extern unsigned long weightoffset;
extern unsigned long usezero,onzero; 
extern unsigned char SOFT_VER;
extern unsigned char PCB_VER;
extern unsigned int ADD_IP;
extern unsigned char MODULE_STATE;
extern unsigned char POWER_ZERO_ERR;
extern unsigned char NEW_ZERO_ERR;
extern unsigned long NS_ON;
extern unsigned char AUTO_IP_FIG;
extern unsigned char IC_NUMBER[2];
extern unsigned int TARE_WEIGHT;
extern unsigned char PWZERO_FIG;
/*-----------------INITERRUPT -----------------*/
extern unsigned char TIMER1_TIMES;
extern unsigned int 	SOHW_BLINK;
extern uint8_t *TransmitBuf, *ReceiveBuf;
extern uint16_t TransmitCount, ReceiveCount;
extern uint8_t TransmitComplateFlag, ReceiveComplateFlag;
extern unsigned char RS_TIME;
extern unsigned char START_FIG;
extern unsigned char TX_TIME;
extern unsigned char Autosave_fig;
/*-------------------- FD612 ------------------*/
/*------------------- XM24LP ------------------*/
extern unsigned long WADvalue;
extern unsigned char ADC_SPEED;
/*------------------- WFILTER -----------------*/
extern float WV_OUT;
extern unsigned char stable_time,fig_stable; 
extern unsigned char zttime;
extern unsigned char FILTER_TYPE;
/*-------------------- CAL --------------------*/
extern unsigned char POINT;
extern unsigned char DO_CAL_FIG;
extern unsigned char CAL_TYPE;
extern unsigned long CAL_ZERO,UCAL_ZERO;
extern float CAL_WT1,CAL_WT2,CAL_WT3,CAL_WT4,CAL_WT5,CAL_WT6;
extern float CAL_SPAN1,CAL_SPAN2,CAL_SPAN3,CAL_SPAN4,CAL_SPAN5,CAL_SPAN6;
/*-------------------- LINE -------------------*/
extern float weight;
extern unsigned long DIVS,WT;
extern unsigned char ZT,ZFig,ZR,ATZ,LATZ,Have_W,over;
extern float G_rate;
extern float Factory_Gravity,Users_Gravity;
extern unsigned long OV_MAX;
extern unsigned long CP_WIEGHT;
/*------------------ DISPLAY ------------------*/
extern unsigned char NEG_FIG;
extern unsigned long WEIGHT_OUT;
/*----------------- DATA_FLASH ----------------*/ 
extern unsigned char Eeprom[7];
extern unsigned long D_INT[2],D_CHAR[4];
extern unsigned long WValue,RValue;
extern unsigned char USAVE_DEFALT,FSAVE_DEFALT_S,FSAVE_DEFALT_E;
/*------------------ DATA_MAP------------------*/
extern unsigned int CRC_DATA;
extern unsigned char CRC_H,CRC_L;
extern unsigned int  IP_INT;
//---- MOED_SETUP
extern unsigned char DOT;
extern float DIVISION;
extern float CAP;
//---- OIML_SETUP
extern unsigned char SET_AZ,SET_MZ,SET_LATZ,SET_ATZ,SET_FILTER,SET_PID1,SET_PID2,SET_SENS1,SET_SENS2,SET_CREEPV,SET_CREEPT;
extern unsigned char ZERO_ST,TARE_ST,SET_SZ;
extern unsigned int OVER_LOAD_TIMES;
extern float AZR_VALUE,MZR_VALUE,TEMPV;
extern float TEMP_FLOAT;
/*------------------ MCU_UART -----------------*/ 
extern unsigned int SET_BUAD;
/*----------------     UART     ----------------*/ 
extern unsigned char RX_CMD;
extern unsigned char RX_TIME;
extern unsigned char TXDATA[100];
extern unsigned char TX_FIG;
extern unsigned char RXDATA[400];
extern unsigned char MODULE_FIG;


